package records

import (
	"github.com/golib/mysql"
)

const RecordNameAuditionStudentSection = "audition_student_section"

func init() {
	var r = &AuditionStudentSection{}
	mysql.RegisterRecord(r.Name(), r)
}

type AuditionStudentSection struct {
	StudentSectionId int    `form:"studentSectionId" column:"student_section_id" primary:"true" modify:"false" json:"studentSectionId"`
	StudentId        int    `json:"studentId" form:"studentId" column:"student_id" modify:"true"`
	KnowledgeId      int    `json:"knowledgeId" form:"knowledgeId" column:"knowledge_id" modify:"true"`
	KnowledgeName    string `json:"knowledgeName" form:"knowledgeName" column:"knowledge_name" modify:"true"`
	SectionId        int    `json:"sectionId" form:"sectionId" column:"section_id" modify:"true"`
	SectionName      string `json:"sectionName" form:"sectionName" column:"section_name" modify:"true"`
	Difficulty       int    `column:"difficulty" modify:"true" json:"difficulty" form:"difficulty"`
	PracticeScore    int    `column:"practice_score" modify:"true" json:"practiceScore" form:"practiceScore"`
	MasterScore      int    `form:"masterScore" column:"master_score" modify:"true" json:"masterScore"`
	CreateTime       string `form:"createTime" column:"create_time" modify:"false" json:"createTime"`
	UpdateTime       string `column:"update_time" modify:"false" json:"updateTime" form:"updateTime"`
}

func (r *AuditionStudentSection) Name() string {
	return RecordNameAuditionStudentSection
}
